<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加内容</title>
<load href="__PUBLIC__/css/bootstrap.min.css" />
<import type='css' file="css.main" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<load href="__PUBLIC__/js/jquery-ui.min.js" />
<import type='js' file="js.main" />
<import type='js' file="js.setshowflag" />
<import type='js' file="js.setshowflag" />
<import type='js' file="js.moment" />
<import type='js' file="js.daterangepicker" />
<script type="text/javascript">
$(function(){
	$('#pro_starttime').daterangepicker({ singleDatePicker: true }, function(start, end, label) {
		console.log(start.toISOString(), end.toISOString(), label);
	});
})
</script>
</head>

<body id="body">
<div class="main-frame">
	<div class="position">华人码 > 编辑讲经资料</div>
	<div class="addobject">
		<div class="obj-form">
			<form name="form1" id="form1" action="{:U('Ysheng/jjeditdata')}" method="post" class="form-inline">
				<input type="hidden" name="hiddenid" value="{$result1.id}">
				<ul>
					<li>
						<label class="fl tle">标题：</label>
						<span class="fl cnt">
						<input name="y_title" class="form-control" placeholder="标题" value="{$result1.y_title}" style="width: 450px;"><em>*</em>
						</span>
					</li>
					<li>
						<label class="fl tle">音频地址：</label>
						<span class="fl cnt">
						<input name="y_vurl" class="form-control" placeholder="音频地址" value="{$result1.y_vurl}" style="width: 450px;"><em>*</em>
						</span>
					</li>
					<li>
						<label class="fl tle">讲经人：</label>
						<span class="fl cnt">
						<select name='pid' class="template form-control">
						<volist name='result' id='v'>
						<option value='{$v.id}' <if condition="$v['id'] eq $result1['pid']">selected="selected"</if>>{$v.y_name}</option>
						</volist>
						</select>
						</span>
					</li>
					<li>
						<label class="fl tle">介绍：</label>
						<span class="fl cnt">
						<textarea name="content" id="editor" class="form-control" placeholder="简介" style="width: 450px; height:150px; overflow: hidden;">{$result1.content}</textarea>
						</span>
					</li>
					<li>
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt">
                             	发布人：<input name="issuer" class="txtlength200" style="width: 100px; margin-right:15px;" placeholder="{$result1.issuer}" value='{$result1.issuer}' readonly="readonly">
                             	发布日期：<input name="y_datetime" class="txtlength200" style="width: 160px;" placeholder="发布日期" value="{$result1.y_datetime}">
						</span>
					</li>
					<li class="submit">
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt"><input type="submit" value="确定修改" class="submitbtn" /></span>
					</li>
				</ul>
			</form>
		</div>
		<div class="obj-previewimg">
			<div class="instructions">
				<b>备注说明：</b><br>
				1、带有红色  “ * ” 项必填<br>
			</div>
		</div>
	</div>

</div>
</body>
</html>
